using System;
namespace MicroMsg.Protocol
{
	public class MMTLVHeader
	{
		private int int_0;
		private uint uint_0;
		private ushort cmdId;
		private ushort dummy1;
		private byte[] serverId;
		private byte[] deviceId;
		private short compressVersion;
		private short compressAlgorithm;
		private short cryptAlgorithm;
		private ushort dummy2;
		private uint compressLen;
		private uint compressedLen;
		public int Ret
		{
			get
			{
				return this.int_0;
			}
			set
			{
				this.int_0 = value;
			}
		}
		public uint Uin
		{
			get
			{
				return this.uint_0;
			}
			set
			{
				this.uint_0 = value;
			}
		}
		public ushort CmdId
		{
			get
			{
				return this.cmdId;
			}
			set
			{
				this.cmdId = value;
			}
		}
		public ushort Dummy1
		{
			get
			{
				return this.dummy1;
			}
			set
			{
				this.dummy1 = value;
			}
		}
		public byte[] ServerId
		{
			get
			{
				return this.serverId;
			}
			set
			{
				this.serverId = value;
			}
		}
		public byte[] DeviceId
		{
			get
			{
				return this.deviceId;
			}
			set
			{
				this.deviceId = value;
			}
		}
		public short CompressVersion
		{
			get
			{
				return this.compressVersion;
			}
			set
			{
				this.compressVersion = value;
			}
		}
		public short CompressAlogrithm
		{
			get
			{
				return this.compressAlgorithm;
			}
			set
			{
				this.compressAlgorithm = value;
			}
		}
		public short CryptAlgorithm
		{
			get
			{
				return this.cryptAlgorithm;
			}
			set
			{
				this.cryptAlgorithm = value;
			}
		}
		public ushort Dummy2
		{
			get
			{
				return this.dummy2;
			}
			set
			{
				this.dummy2 = value;
			}
		}
		public uint CompressLen
		{
			get
			{
				return this.compressLen;
			}
			set
			{
				this.compressLen = value;
			}
		}
		public uint CompressedLen
		{
			get
			{
				return this.compressedLen;
			}
			set
			{
				this.compressedLen = value;
			}
		}
		public MMTLVHeader()
		{
			this.Reset();
		}
		~MMTLVHeader()
		{
			this.Reset();
		}
		private void Reset()
		{
			this.int_0 = 0;
			this.uint_0 = 0u;
			this.cmdId = 0;
			this.dummy1 = 0;
			this.serverId = null;
			this.deviceId = null;
			this.compressVersion = 0;
			this.compressAlgorithm = 0;
			this.cryptAlgorithm = 0;
			this.dummy2 = 0;
			this.compressLen = 0u;
			this.compressedLen = 0u;
		}
	}
}
